export class Hero {
  // @observable
  id: number
  // @observable
  name: string

  constructor(obj) {
    Object.assign(this, obj)
  }

  // @computed
  get info() {
    return `<${this.id}> ${this.name}`
  }
}
